/**
* arrange module api
*/

import base from "./base";
import axios from "@/utils/axios";

const arrange = {
  getWeekArrange(params){
    return axios.post(base.webBaseUrl + '/arrange/screen', null, {
      params: params
    });
  },
  addArrange(params){
    return axios.post(base.webBaseUrl + '/arrange/add', null, {
      params: params
    });
  },
  updateArrange(params) {
    return axios.post(base.webBaseUrl + '/arrange/update', null, {
      params: params
    });
  },
  deleteArrange(params) {
    return axios.post(base.webBaseUrl + '/arrange/delete', null, {
      params: params
    })
  },
  getRole(){
    return axios.get(base.webBaseUrl + '/role/get');
  },
  addRole(params){
    return axios.post(base.webBaseUrl + '/role/add', null, {
      params: params
    });
  },
  deleteRole(params){
    return axios.post(base.webBaseUrl + '/role/del', null, {
      params: params
    });
  }
}

export default arrange;
